home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 3.5 KB | 132 lines | [TEXT/MPS ] |
- /*
- File: Editions.idl
-
- Contains: Edition Manager Interfaces.
-
- Version: Technology: System 7.5
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __EDITIONS_IDL__
- #define __EDITIONS_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __MEMORY_IDL__
- #include <Memory.idl>
- #endif
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __FILES_IDL__
- #include <Files.idl>
- #endif
- #ifndef __ALIASES_IDL__
- #include <Aliases.idl>
- #endif
- #ifndef __DIALOGS_IDL__
- #include <Dialogs.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
- /*
- pseudo-item hits for dialogHooks
- the first if for NewPublisher or NewSubscriber Dialogs
- */
- /*
- the refcon field of the dialog record during a modalfilter
- or dialoghook contains one the following
- */
- /* one byte, stSubscriber or stPublisher */
- typedef SignedByte SectionType;
-
- /* seconds since 1904 */
- typedef unsigned long TimeStamp;
-
- /* similar to ResType */
- typedef FourCharCode FormatType;
-
- /* used in Edition I/O */
- typedef Handle EditionRefNum;
-
- /* update modes */
- /* sumAutomatic, pumSuspend, etc */
- typedef short UpdateMode;
-
-
-
- typedef OpaquePtr SectionPtr; /* Substituted OpaquePtr for “SectionRecord*” */
-
- typedef OpaquePtr SectionHandle; /* Substituted OpaquePtr for “SectionPtr*” */
-
- typedef SOMLargeStruct SectionRecord; /* Derived from a struct of 36 bytes in size */
-
- typedef SOMLargeStruct EditionContainerSpec; /* Derived from a struct of 110 bytes in size */
-
- typedef OpaquePtr EditionContainerSpecPtr; /* Substituted OpaquePtr for “EditionContainerSpec*” */
-
- typedef SOMLargeStruct EditionInfoRecord; /* Derived from a struct of 126 bytes in size */
-
- typedef SOMLargeStruct NewPublisherReply; /* Derived from a struct of 122 bytes in size */
-
- typedef SOMLargeStruct NewSubscriberReply; /* Derived from a struct of 112 bytes in size */
-
- typedef SOMLargeStruct SectionOptionsReply; /* Derived from a struct of 10 bytes in size */
-
- typedef OpaquePtr ExpModalFilterProcPtr;
- typedef OpaquePtr ExpModalFilterUPP;
- typedef OpaquePtr ExpDlgHookProcPtr;
- typedef OpaquePtr ExpDlgHookUPP;
- typedef SignedByte FormatIOVerb;
-
- typedef SignedByte EditionOpenerVerb;
-
- typedef SOMLargeStruct FormatIOParamBlock; /* Derived from a struct of 24 bytes in size */
-
-
-
- typedef OpaquePtr FormatIOProcPtr;
- typedef OpaquePtr FormatIOUPP;
- typedef OpaquePtr EditionOpenerProcPtr;
- typedef OpaquePtr EditionOpenerUPP;
- typedef SOMLargeStruct EditionOpenerParamBlock; /* Derived from a struct of 148 bytes in size */
-
- /*
- Section events now arrive in the message buffer using the AppleEvent format.
- The direct object parameter is an aeTemporaryIDParamType ('tid '). The temporary
- ID's type is rSectionType ('sect') and the 32-bit value is a SectionHandle.
- The following is a sample buffer
-
- name offset contents
- ---- ------ --------
- header 0 'aevt'
- majorVersion 4 0x01
- minorVersion 6 0x01
- endOfMetaData 8 ';;;;'
- directObjKey 12 '----'
- paramType 16 'tid '
- paramLength 20 0x0008
- tempIDType 24 'sect'
- tempID 28 the SectionHandle <-- this is want you want
- */
- #if !CFMSYSTEMCALLS
- #else
- #endif
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __EDITIONS_IDL__ */
-
-